package com.luck.redis;

import java.util.List;

/**
 * Created by Hua wb on 2018/11/16.
 */
public interface RedisApi {

    boolean isConnection();

    void add(String key, String value);

    String get(String key);

    void increase(String key, int number);

    void addList(String key, String value);

    void addList(String key, List<String> list);

    String pop(String key);
}
